﻿<%@ page language="C#" autoeventwireup="true" inherits="_edu_teacher_J1_TeacherPerformanceRecycleBin, App_Web_j1_teacherperformancerecyclebin.aspx.360d3660" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

    <script language="javascript" src="../../window/jquery/jquery.min.js" type="text/javascript"></script>

    <script language="javascript" src="../../window/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>

    <script language="javascript" src="../../window/message/jquery.message.js" type="text/javascript"></script>

    <script language="javascript" src="../../window/checked/jquery.checked.js" type="text/javascript"></script>

    <script language="javascript" src="../../window/maxInput/jquery.maxInput.js" type="text/javascript"></script>

    <script language="javascript" src="../../window/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

    <script language="javascript" src="../../window/TableRowFocus/jquery.RowFocus.js" type="text/javascript"></script>

    <link href="../../window/_css/jquery-ui.custom.css" rel="stylesheet" type="text/css" />
    <link href="../../window/_css/window.css" rel="stylesheet" type="text/css" />
    <link href="../../css/listpage.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">

    $(function(){
    
        
        $("#chk_all").checkedAll("ViewData",0);
        $("#chk_Rev").checkedRev("ViewData",0);
        
        $("#ViewData").RowFocus();
        
    });
  
    function validSelect(){
        var trs = $("#ViewData").find(":checked");

        if(trs.size()==0){
            message("请选择！",1);
            return false;
        }
        return true;
    }

    </script>

    <style type="text/css">
<!--
.center {
	text-align: center;
}
-->
</style>
</head>
<body>
    <form id="form2" runat="server">
       <div class="ui-widget-header " style="padding: .4em 1em; margin:2px">
            <span class="ui-dialog-title" ></span>&nbsp;教师业绩信息|回收站</div>

        <div class="panel">

            <asp:Button ID="btnAdd" class="addnew" runat="server" Text="还原" OnClick="btnAdd_Click" OnClientClick="return validSelect()" />
            
            <asp:Button ID="btnDelete" runat="server" CssClass="delete" OnClick="lbDelete_Click"
                OnClientClick="if(confirm('确认删除？')){return validSelect(); }else{return false;}"
                Text="删除" />
            &nbsp;
            <asp:Button ID="lbrs" runat="server" CssClass="btn" Text="刷新" OnClick="btnRefresh_Click" />&nbsp;
            <input id="chk_all" name="chk_all" type="checkbox" />全选 <a id="chk_Rev" href="javascript:void(0)">
                反 选</a>
        </div>
        <asp:GridView ID="ViewData" runat="server" AutoGenerateColumns="False" BackColor="White"
            CssClass="gv" Width="100%">
            <RowStyle CssClass="gvRow" />
            <HeaderStyle CssClass="gvHeader" />
            <AlternatingRowStyle CssClass="gvAlternatingRow" />
            <EmptyDataRowStyle CssClass="gvEmpty" />
            <Columns>
                <asp:TemplateField HeaderText="选择">
                    <ItemTemplate>
                        <input id="cbselect" runat="server" type="checkbox" value='<%#Eval("tp_id") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <%--tp_id, tb_name,sy_name,tm_name,sl_name,sc_name,ge_name,tp_class,tp_studNumber,tp_avg,tp_pass,tp_er,et_name,tp_idate,tp_user--%>
                <asp:BoundField DataField="tb_name" HeaderText="教师名称" />
                <asp:BoundField DataField="sy_name" HeaderText="年度" />
                <asp:BoundField DataField="tm_name" HeaderText="学期" />
                <asp:BoundField DataField="sl_name" HeaderText="任教学校" />
                <asp:BoundField DataField="sc_name" HeaderText="学校分类" />
                <asp:BoundField DataField="ge_name" HeaderText="年级" />
                <asp:BoundField DataField="tp_class" HeaderText="班级" />
                <asp:BoundField DataField="tp_studNumber" HeaderText="学生数" />
                <asp:BoundField DataField="st_name" HeaderText="任教学科" />
                <asp:BoundField DataField="tp_avg" HeaderText="平均分" />
                <asp:BoundField DataField="tp_pass" HeaderText="及格率" />
                <asp:BoundField DataField="tp_er" HeaderText="优生率" />
                <asp:BoundField DataField="et_name" HeaderText="考试类别" />
                <asp:BoundField DataField="tp_idate" HeaderText="提交日期" />
                <asp:BoundField DataField="tp_user" HeaderText="提交用户" />
                <asp:BoundField DataField="tp_rdate" HeaderText="删除日期" />
            </Columns>
            <EmptyDataTemplate>
                没有任何数据！
            </EmptyDataTemplate>
        </asp:GridView>
        <br />
        <webdiyer:AspNetPager ID="PagerButtom" runat="server" AlwaysShow="True" CssClass="paginator"
            CustomInfoHTML="当前第%CurrentPageIndex%/%PageCount%页 共%RecordCount%条记录 每页%PageSize%条 "
            CustomInfoSectionWidth="" FirstPageText="首页" HorizontalAlign="Right" LastPageText="尾页"
            LayoutType="Table" MoreButtonsClass="" NextPageText="下一页" NumericButtonCount="5"
            OnPageChanged="Pager_PageChanged" PageIndexBoxClass="cpb"  PrevPageText="上一页"
            ShowCustomInfoSection="Right" ShowPageIndexBox="Always" SubmitButtonText="转到">
        </webdiyer:AspNetPager>
        <div id="insertPanel" style="display: none;">
                    <td style="width: 109px">
                        <label for="txttp_term">
                            学期：</label></td>
                    <td style="width: 242px">
                        <asp:DropDownList ID="txttp_term" runat="server" Width="150px">
                        </asp:DropDownList></td>
                    <td style="width: 133px">
                        <asp:RequiredFieldValidator ID="rfvtp_term" runat="server" ControlToValidate="txttp_term"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                <tr>
                    <td style="width: 109px">
                        任教学校：</td>
                    <td style="width: 242px">
                        <asp:Label ID="labSchool" runat="server"></asp:Label></td>
                    <td style="width: 133px">
                    </td>
                </tr>
                <tr>
                    <td style="width: 109px">
                        学校分类：</td>
                    <td style="width: 242px">
                        <asp:Label ID="labClass" runat="server"></asp:Label></td>
                    <td style="width: 133px">
                    </td>
                </tr>
                <tr> 
                    <td style="width: 109px">
                        <label for="txttp_geid">
                            年级：</label></td>
                    <td style="width: 242px">
                        <asp:DropDownList ID="txttp_geid" runat="server" Width="150px">
                        </asp:DropDownList></td>
                    <td style="width: 133px">
                        <asp:RequiredFieldValidator ID="rfvtp_geid" runat="server" ControlToValidate="txttp_geid"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                &nbsp;</div>
    </form>
</body>
</html>
<!--powered by 25175-->
